Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Determine  Last  Months  Date  

 Content of Determine Last Months Date.vbs
MD5 Hash: 2411297D3B2104467CC6C2B675929DD9
intMonth = Month(Date)
intYear = Year(Date)

If intMonth = 1 Then
intMonth = 12
intYear = intYear - 1
Else
intMonth = intMonth - 1
End If

If intMonth < 10 Then
intMonth = "0" & intMonth
End If

intYear = Right(intYear, 2)

strName = intMonth & intYear

Wscript.Echo strName



   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a